<include file="Public:header"/>
<script type="text/javascript">
$(document).ready(function(){
	$('select[name="status"]').val('{$status}');
	$('select[name="send_type"]').val('{$send_type}');
	$('select[name="search_field"]').val('{$search_field}');
});
</script>
<div class="form_data">
	<form action="" method="get" filterValid="true">
	<div class="mod_name" style="padding-bottom:0px;margin-bottom:0px;">
		<span class="name">搜索条件</span>
	</div>
	<div class="mod_data" style="margin-bottom:10px;">
		<div class="input_data">
			状态：
			<select name="status">
				<option value="">全部</option>
				<option value="200">成功</option>
				<option value="404">失败</option>
			</select>
			类型：
			<select name="send_type">
				<option value="">全部</option>
				<option value="cl">创蓝短信</option>
				<option value="b2m">亿美短信</option>
				<option value="webchinese">中国网建</option>
				<option value="yunpian">云片网短信</option>
				<option value="yunpian_voice">云片网语音</option>
				<option value="vcomcn">集时通</option>
			</select>
			<select name="search_field">
				<option value="mobiles">按手机号</option>
				<option value="content">按内容</option>
				<option value="status">按状态</option>
			</select>
			<input type="text" name="keyword" id="w150" value="{$keyword}">
			日期
			<input type="text" name="start_date" id="start_date" value="{$start_date}" onclick="WdatePicker({maxDate:'#F{$dp.$D(\\'end_date\\')}'})" style="width:80px;">
			至
			<input type="text" name="end_date" id="end_date" value="{$end_date}" onclick="WdatePicker({minDate:'#F{$dp.$D(\\'start_date\\')}'})" style="width:80px;">
			<button type="submit" class="btn btn-search">查询</button>
		</div>
	</div>
	</form>
</div>
<div class="data_list">
	<table style="<neq name='table_width' value=''>width:{$table_width}px;</neq>">
		<tr>
			<volist name="data_title" id="rs">
				<th>{$rs['title']}</th>
			</volist>
		</tr>
		<volist name="list" id="rs">
		<tr>
		<volist name="data_title" id="val">
			<td <neq name="val.td_style" value="">style="{$val['td_style']}"</neq>>
			<span class="<neq name="val.val_class" value="">{$val['val_class']}</neq>">
				<php> if($rs[$key]){ </php>
					{$val['val_pre']}{$rs[$key]}
				<php> }else{ </php>
					{$val['val_pre']}{$val['val_default']}
				<php> } </php>
			</span>
			</td>
		</volist>
		</tr>
		</volist>
	</table>
</div>
<div class="page">{$page}</div>
<include file="Public:footer"/>